package com.itdr.protal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itdr.common.ServerResponse;
import com.itdr.pojo.User;
import com.itdr.pojo.vo.UserVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AirZhang
 * @since 2020-10-20
 */
public interface IUserService extends IService<User> {

    ServerResponse register(User u);

    ServerResponse login(User u);

    ServerResponse gmsg(UserVO uvo, User u);

    ServerResponse yzUser(UserVO uvo, User u);

    ServerResponse gmb(UserVO uvo, User u, String tk);

    ServerResponse ugmm(UserVO uvo, String oldPassWord, String newPassWord);

    ServerResponse wpas(String userName);

    ServerResponse mbAnswer(String userName,String answer);

    ServerResponse gmm(String userName, String newPassWord, String tk);
}
